export function getPath(pathname) {
  if (process.env.NODE_ENV !== 'development') {
    return JSON.parse(localStorage.configPath)[pathname];
  } else {
    let configPath = {
      api_path: "http://172.16.7.156:7039/",
      // api_path: "http://172.16.7.156:8888/",
      // api_path: "http://192.168.3.190:7039/",//邱武艺测试
      // api_path: "http://192.168.3.103:8080/urpapi/",
      ca_path: "http://172.16.110.200/seal/",
      pdf_path: "http://172.16.110.200/comment/",
      zpt_path:"http://172.16.110.199/urpfront/#/ui/user/login",
    };
    return configPath[pathname];
  }
}
